<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::require_color_space&lt; pixel &gt; Struct Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="structpng_1_1require__color__space.html">require_color_space</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">png::require_color_space&lt; pixel &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::require_color_space" -->
<p>IO transformation class template. Enforces image color space.  
 <a href="structpng_1_1require__color__space.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="require__color__space_8hpp_source.html">require_color_space.hpp</a>&gt;</code></p>

<p><a href="structpng_1_1require__color__space-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef pixel_traits&lt; pixel &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1require__color__space.html#a95fc4a1f8f4cd72c19e0123030970d04">traits</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1require__color__space.html#a7d6f4b921d201c3e4e1f80d137a4b33e">operator()</a> (<a class="el" href="classpng_1_1io__base.html">io_base</a> &amp;io) const </td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename pixel&gt;<br/>
struct png::require_color_space&lt; pixel &gt;</h3>

<p>IO transformation class template. Enforces image color space. </p>
<p>This IO transformation class template used to enforce source image color space.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classpng_1_1image.html" title="Class template to represent PNG image.">image</a>, <a class="el" href="classpng_1_1image.html#a39b167f639856afe5fb3dc666e66df2d" title="Reads an image from specified file using default converting transform.">image::read</a> </dd></dl>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a95fc4a1f8f4cd72c19e0123030970d04"></a><!-- doxytag: member="png::require_color_space::traits" ref="a95fc4a1f8f4cd72c19e0123030970d04" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef pixel_traits&lt; pixel &gt; <a class="el" href="structpng_1_1require__color__space.html">png::require_color_space</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1require__color__space.html#a95fc4a1f8f4cd72c19e0123030970d04">traits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7d6f4b921d201c3e4e1f80d137a4b33e"></a><!-- doxytag: member="png::require_color_space::operator()" ref="a7d6f4b921d201c3e4e1f80d137a4b33e" args="(io_base &amp;io) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structpng_1_1require__color__space.html">png::require_color_space</a>&lt; pixel &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1io__base.html">io_base</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classpng_1_1io__base.html#a391152531f1825e81460b9847a3a8000">png::io_base::get_bit_depth()</a>, and <a class="el" href="classpng_1_1io__base.html#ab8070ca679dfb49c226978297e7b4c08">png::io_base::get_color_type()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="require__color__space_8hpp_source.html">require_color_space.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
